<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="utf-8"></meta>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
  <title>文档信息管理</title>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"></meta>
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background:#f5f6f8;">


    <section class="content-header">
      <h1>
        管理系统
        <small>文档信息管理</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="javascript:;"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="javascript:;">项目文档管理</a></li>
        <li class="active">文档信息管理</li>
      </ol>
    </section>

    <!--内容-->
    <section class="content">
      <div class="box box-default">
        <div class="box-header with-border">
          <div class="row">
            <div class="col-md-12">

              <div class="form-inline">
                  <div class="form-group">
                      <label>所属规划：</label>
                      <select id="planProjClass" name="planProjClass" class="form-control select2">

                      </select>
                  </div>
                  <div class="form-group">
                      <label>建设单位：</label>
                      <select id="orgId" name="orgId" class="form-control select2">

                      </select>
                  </div>
                  <div class="form-group">
                      <label>实施项目：</label>
                      <select  id="belongPlan" name="belongPlan" class="form-control select2"></select>
                      <!--<div class="input-group">-->
                      <!--<input type="text" class="form-control" disabled="disabled" id="projuectOut"/>-->
                      <!--<input type="text" class="hidden" id="belongPlan">-->
                      <!--<span class="input-group-btn">-->
                      <!--<button class="btn btn-default" type="button"  id="projectBtn" ><i class="fa fa-search"></i></button>-->
                      <!--</span>-->
                      <!--</div>-->
                  </div>

                  <div class="form-group">
                    <label>项目阶段：</label>
                    <select id="projectStage" name="projectStage" class="form-control select2">

                    </select>
                  </div>
                  <button id="btn_add" type="button" class="btn btn-border"><i class="fa fa-plus"></i> 增加</button>
                   <button class="btn btn-info" id="queryBtn"><i class="fa fa-search"></i> 查询</button>
                  <button class="btn btn-info" id="approvalBtn"><i class="fa fa-search"></i>批量审定</button>
              </div>

            </div>
          </div>
        </div>
        <div class="box-body">
            <table id="fileInfoList"></table>
        </div>
      </div>
    </section>
  <div class="control-sidebar-bg"></div>

<!--子节点增加页面-->
<div class="modal fade" id="childAddModal" >
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">子节点增加</h4>
      </div>
      <div class="modal-body">
              <div class="row noMargin">
                <div class="col-sm-12">
                  <div class="form-group">
                    <label>父节点名称：</label>
                    <input type="text" class="form-control hidden"  id="stageNodeId" name="stageNodeId"/>
                    <input type="text" class="form-control hidden"  id="projStageId1" name="projStageId1"/>
                    <input type="text" class="form-control" disabled="disabled"  id="stageNodeName" name="stageNodeName"/>
                  </div>
                </div>
                <div class="col-sm-12">
                  <div class="form-group">
                    <label>子节点名称：</label>
                    <input type="text" class="form-control" id="childNodeName" name="childNodeName"/>
                  </div>
                </div>
              </div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" id="saveNodeBtn">确定</button>
      </div>
    </div>
  </div>
</div>

<!--文档信息增加修改-->
<div class="modal fade  bs-example-modal-lg" id="addEditModal" >
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">文档信息增加/编辑</h4>
      </div>
      <div class="modal-body">
        <form id="folderForm" enctype="multipart/form-data">
            <input type="text" class="hidden" id="projStageId" name="projStageId">
            <input type="text" class="hidden" id="impleProjId" name="impleProjId">
            <input type="text" class="hidden" id="projStageClass" name="projStageClass">
            <input type="text" class="hidden" id="docInfoId" name="docInfoId">
            <input type="text" class="hidden" id="uploadId" name="uploadId">
            <div class="row noMargin">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label>所属规划：</label>
                        <select id="planProjClassAdd" name="planProjClassAdd" class="form-control select2">

                        </select>
                    </div>
                </div>
                <div class="col-sm-6">
                <div class="form-group">
                <label>建设单位：</label>
                <select id="orgIdAdd" name="orgIdAdd" class="form-control select2">

                </select>
                    </div>
                </div>
              <div class="col-sm-6">
                <div class="form-group">
                  <label for="fileName">项目名称：</label>
                    <select id="implProjectName" name="implProjectName" class="form-control select2">
                  <!--<input type="text" class="form-control" disabled="disabled" id="implProjectName" name="implProjectName"/>-->
                </div>
              </div>
              <div class="col-sm-6">
                <div class="form-group">
                  <label for="fileName">项目阶段：</label>
                    <select id="projStageName" name="projStageName" class="form-control select2">

                    </select>
                  <!--<input type="text" class="form-control" disabled="disabled" id="projStageName" name="projStageName"/>-->
                </div>
              </div>
                <div class="col-sm-6">
                  <div class="form-group">
                    <label for="fileName">文档名称：</label>
                    <input type="text" class="form-control" id="fileName" name="fileName"/>
                  </div>
                </div>
                 <!--
                <div class="col-sm-6">
                    <div class="form-group">
                      <label>文件：</label>
                      <div class="input-group">
                        <input type="text" class="form-control" disabled="disabled" id="myFileName" name="myFileName"/>
                        <input type="text" class="hidden" id="fileId" name="fileId ">
                        <span class="input-group-btn">
                          <button class="btn btn-info file_btn" type="button">
                            选择文件
                            <input type="file" class="my_file_chose" id="myFile" name="myFile">
                          </button>
                          <div class="file_chose">
	                        <button type="button" class="btn btn-info" id="common_file_bnt"></button><br/>
                  	      </div>
                          <input class="btn btn-primary" type="button" value="上传文件" id="fileBtn"></input>
                        </span>
                      </div>
                    </div>
                  </div>-->
              <div class="col-sm-6">
                <div class="form-group">
                  <label for="fileType">文档属性</label>
                  <div class="form-group">
                    <select id="fileAttr" name="fileAttr" class="form-control select2">
                    </select>
                  </div>
                </div>
              </div>
              <div class="col-sm-6">
                <div class="form-group">
                  <label for="fileType">文档类型</label>
                  <div class="form-group">
                    <select id="fileType" name="fileType" class="form-control select2">
                    </select>
                  </div>
                </div>
              </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label for="endDt">完成时间：</label>
                      <div class="input-group date">
                        <div class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </div>
                        <input type="text" class="form-control pull-right datetimepicker" id="endDt"  name="endDt" readonly="true"/>
                      </div>
                    </div>
                  </div>
              <div class="col-sm-6">
                <div class="form-group">
                  <label for="broker">主要参与人：</label>
                  <div class="input-group">
                    <input type="text" class="form-control" disabled="disabled" id="participant" name="participant"/>
                    <input type="text" class="form-control hidden"  id="participantId" />
                    <span class="input-group-btn">
                          <button class="btn btn-default" type="button" data-toggle="modal" id="userBtn">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                  </div>
                </div>
              </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label for="broker">经手人：</label>
                      <div class="input-group">
                        <input type="text" class="form-control" disabled="disabled" id="broker" name="broker"/>
                        <input type="text" class="form-control hidden"  id="brokerId" />
                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" data-toggle="modal" id="userBtn1">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                      </div>
                    </div>
                  </div>
                <div class="col-sm-6">
                <div class="file_chose">
                  <button type="button" class="btn btn-info" id="common_file_bnt"></button><br/>
                </div>
                 </div>
                  <div class="col-sm-12">
                    <div class="form-group">
                      <label for="description">备注：</label>
                      <textarea class="form-control" rows="3" placeholder="请输入备注" id="description" name="description"></textarea>
                    </div>
                  </div>
            </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" id="ensureBtn">保存</button>
      </div>
    </div>
  </div>
</div>



<!--用户搜索界面-->
    <div class="modal fade bs-example-modal-lg" id="projectSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="unitSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="itemSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="userSearchModal" ></div>


    <script th:src="@{/js/pub-lib/jquery-ui-datepicker.min.js}"></script>
    <script th:src="@{/js/pub-lib/jquery-ui-datepicker.zh-CN.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/easyui/jquery.easyui.min.mylocal.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/easyui/datagrid-detailview.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/select2/select2.full.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/unitcommpent.js}"></script>
    <script th:src="@{/js/our-lib/commpent/projectsearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/itemsearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/unitsearchcommpent.js}"></script>
    <script type="text/javascript" src="../js/our-lib/commpent/unittypetoselcommpent.js"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/usersearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/project2unit2itemcommpent.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/bootstrap-validator/bootstrapValidator.min.js}"></script>
    <script th:src="@{/js/our-lib/commpent/constantcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/staffLimitCommpent.js}"></script>
    <script th:src="@{/js/pub-lib/common.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/folderManage/folderInfoManage.js}"></script>
</body>
</html>
